<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			function foo(e)
			{
				//keyboard   键盘事件对象
				console.log(e);
				
				console.log(e.key);
				console.log(e.ctrlKey);
				console.log(e.shiftKey);
				console.log(e.altKey);
				if (e.ctrlKey && e.shiftKey&& e.altKey) {
					alert("你同事南下3个功能键")
				}
			}
			//键盘拧下
			document.onkeydown = foo;
		</script>
	</body>
</html>
